﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Entregable.Models.Producto>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	NARS
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <div style = "position: absolute; left: 57px; top: 60px;">
    <h2>Eliminar</h2></div>

    <div class="alert alert-info" style = "position: absolute; left: 57px; top: 120px;">
    Esta seguro de eliminar este Producto?
    </div>
    
    
    <div style = "position: absolute; left: 57px; top: 170px;"><fieldset>
        <legend>Campos</legend>
        </fieldset>
   </div>

        <div style="position: absolute; z-index: 400; width: 344px; height: 418px; background-color: #69a3c5; left: 57px; top: 210px;">
        <table class="table table-hover">
        <tr>
        <td><div class="display-label">Código</div> </td>
        <td><div class="editor-label"><%: Model.Codigo %></div></td>
        </tr>
        <tr>
        <td><div class="display-label">Producto</div> </td>
        <td><div class="display-field"><%: Model.Nombre %></div></td>
        </tr>
        <tr>
        <td><div class="display-label">Marca</div></td>
        <td><div class="display-field"><%: Model.Marca %></div></td>
        </tr>
        <tr>
        <td><div class="display-label">Tipo</div></td>
        <td><div class="display-field"><%: Model.Tipo %></div></td>
        </tr>
        <tr>
        <td><div class="display-label">Modelo</div></td>
        <td><div class="display-field"><%: Model.Modelo%></div></td>
        </tr>
        <tr>
        <td><div class="display-label">Origen</div></td>
        <td><div class="display-field"><%: Model.Origen%></div></td>
        </tr>
        <tr>
        <td><div class="display-label">Sede</div></td>
        <td><div class="display-field"><%: Model.Sede.Codigo %>-<%: Model.Sede.Nombre %></div></td>
        </tr>
        <tr>
        <td><div class="display-label">Stock</div></td>
        <td><div class="display-field"><%: Model.Stock %></div></td>
        </tr>   
      </table>

       <% using (Html.BeginForm()) { %>
        <p>
		    <input type="submit" value="Eliminar" class="btn btn-primary"/> |
		    <%: Html.ActionLink("Regresar a la Lista", "Index") %>
        </p>
      </div>
        
    
    <% } %>

</asp:Content>

